﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sub.Function
{
   public  class EnumType
    {
        [DataContract(Name = "eActionErrorType")]
        public  enum eActionErrorType
        {
            [EnumMember]
            AllowInsert,
            [EnumMember]
            AllowUpdate,
            [EnumMember]
            AllowDelete,
            [EnumMember]
            None,
            [EnumMember]
            AccessDenied,
            [EnumMember]
            Delete_Error,
            [EnumMember]
            DataNotFound,
            [EnumMember]
            UniqueKey,
            [EnumMember]
            RelationshipPreventDelete,
            [EnumMember]
            SessionTimeOut,
            [EnumMember]
            System,
            [EnumMember]
            Custom
        }

        [DataContract(Name = "eErrorType")]
        public  enum eErrorType
        {
            [EnumMember]
            Require,
            [EnumMember]
            Duplicate,
            [EnumMember]
            Unknown,
            [EnumMember]
            None,
            [EnumMember]
            InvalidSize,
            [EnumMember]
            Permnition_Denife,
            [EnumMember]
            Custom,
            [EnumMember]
            DataNotFound,
            [EnumMember]
            DataCorrupt
        }
    }
}
